/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.murcanlat.webcan.exceptions;

/**
 *
 * @author Murat CANPOLAT<murat.canpolat@gebze.bel.tr>
 */
public class AnnotationException extends RuntimeException {

    private String userMessage;

    public AnnotationException(String logMessage, String userMessage, Throwable e) {
        super(logMessage, e);
        this.userMessage = userMessage;
    }

    public AnnotationException(String logMessage, String userMessage) {
        super(logMessage);
        this.userMessage = userMessage;
    }

    public String getUserMessage() {
        return userMessage;
    }

    public void setUserMessage(String userMessage) {
        this.userMessage = userMessage;
    }

}
